#include<iostream>
int main()
{
    int a = 0, b = 0;
    while(std::cin >> a >> b)
    {
        int result = a + b;
        std::cout << result << std::endl;
    }
  return 0;
}